.points-center {
  min-height: 100vh;
  /* background: linear-gradient(135deg, #db3e17 0%, #c9530ace 100%); */
  background: linear-gradient(135deg, #ff6b35, #ff8c69);
}

.points-header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: transparent;
  color: white;
  position: relative;
  z-index: 10;
}

.points-header .ant-btn {
  color: white;
  border: none;
  background: transparent;
}

.points-header .ant-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.header-title {
  flex: 1;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: white;
}

/* 积分余额卡片 */
.points-balance-card {
  margin: 20px 16px;
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.points-balance-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent);
  transform: rotate(45deg);
}

.balance-info {
  flex: 1;
}

.balance-amount {
  font-size: 36px;
  font-weight: bold;
  color: #ff6b35;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.balance-label {
  font-size: 16px;
  color: #666;
  margin-bottom: 4px;
}

.balance-desc {
  font-size: 14px;
  color: #999;
}

.balance-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.balance-actions .ant-btn {
  border-radius: 20px;
  height: 40px;
  padding: 0 20px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(82, 196, 26, 0.3);
}

.balance-actions .ant-btn:disabled {
  background: #f5f5f5;
  border-color: #d9d9d9;
  color: #bfbfbf;
  box-shadow: none;
}

/* 标签页样式 */
.points-tabs {
  background: white;
  margin: 0 16px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.points-tabs .ant-tabs-nav {
  margin: 0;
  background: #f8f9fa;
}

.points-tabs .ant-tabs-tab {
  padding: 16px 24px;
  font-weight: 500;
}

.points-tabs .ant-tabs-tab-active {
  background: white;
  border-radius: 12px 12px 0 0;
}

.points-tabs .ant-tabs-content-holder {
  padding: 0;
}

.points-tabs .ant-tabs-tabpane {
  padding: 16px;
}

/* 积分历史列表 */
.points-history-item {
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.points-history-item:last-child {
  border-bottom: none;
}

.history-info {
  flex: 1;
}

.history-title {
  font-size: 16px;
  color: #333;
  margin-bottom: 4px;
  font-weight: 500;
}

.history-time {
  font-size: 12px;
  color: #999;
}

.history-points {
  font-size: 18px;
  font-weight: bold;
  min-width: 80px;
  text-align: right;
}

/* 积分规则 */
.points-rules {
  padding: 8px 0;
}

.rules-header {
  text-align: center;
  margin-bottom: 24px;
  padding: 20px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 12px;
}

.rules-header h3 {
  margin: 0 0 8px 0;
  color: #333;
  font-size: 20px;
  font-weight: 600;
}

.rules-header p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

.rule-card {
  margin-bottom: 12px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.rule-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.rule-card .ant-card-body {
  padding: 16px;
}

.rule-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rule-info {
  flex: 1;
}

.rule-title {
  font-size: 16px;
  color: #333;
  margin-bottom: 4px;
  font-weight: 500;
}

.rule-desc {
  font-size: 14px;
  color: #666;
}

.rule-content .ant-badge {
  margin-left: 16px;
}

.rule-content .ant-badge-count {
  font-size: 14px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(82, 196, 26, 0.3);
}

.rules-footer {
  margin-top: 32px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
}

.rules-footer h3 {
  margin: 0 0 16px 0;
  color: #333;
  font-size: 18px;
  font-weight: 600;
}

.rules-footer ul {
  margin: 0;
  padding-left: 20px;
}

.rules-footer li {
  margin-bottom: 8px;
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

/* 空状态样式 */
.points-center .ant-empty {
  padding: 40px 20px;
}

.points-center .ant-empty-description {
  color: #999;
  font-size: 14px;
}

/* 签到成功动画 */
@keyframes signInSuccess {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.sign-in-success {
  animation: signInSuccess 0.6s ease-in-out;
}

/* 积分数字跳动动画 */
@keyframes pointsJump {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

.points-jump {
  animation: pointsJump 0.8s ease-in-out;
}

/* 响应式设计 */
@media (max-width: 375px) {
  .points-balance-card {
    margin: 16px 12px;
    padding: 20px;
  }
  
  .balance-amount {
    font-size: 32px;
  }
  
  .points-tabs {
    margin: 0 12px;
  }
  
  .rules-header {
    padding: 16px;
  }
} 